<style>
.form-horizontal .control-label {
	width: 220px;
}

.form-horizontal .controls {
	margin-left: 240px;
}
</style>
<form id='frm' role='form' class="form-horizontal"
	onsubmit='return false;'>

	<#list _cfgs as doc>
	<div class="control-group">
		<label class="control-label" for="frm_${(doc.id)!''}">${(doc.s_name)!''}</label>

		<div class="controls">
			<#if 'longtext' == doc.data_type>
			<!--  -->
			<textarea class="span4 limited" id="frm_${(doc.id)!''}"
				name="${(doc.id)!''}" style='height: 120px'
				placeholder="${(doc.s_name)!''}" onchange="edit(this);">${(doc.s_value)!''}</textarea>
			<!--  -->
			<#else>
			<!--  -->
			<input type="text" class='input-large' id="frm_${(doc.id)!''}"
				name="${(doc.id)!''}" placeholder="${(doc.s_name)!''}"
				value="${(doc.s_value)!''}" onchange="edit(this);" />
			<!--  -->
			</#if>
		</div>
	</div>
	</#list>

</form>
